package com.chaos.system.biz;


import com.chaos.framework.starter.base.BaseController;
import com.chaos.system.service.third.LkeThirdFeign;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@Api(tags = "lke")
@RequestMapping("/lke")
public class LkeController extends BaseController {


    @Resource
    private LkeThirdFeign lkeThirdFeign;

    @PostMapping("/getWsToken")
    @ApiOperation(value = "", httpMethod = "POST")
    public String getWsToken() {
        log.info("getWsToken");
//        String appKey =
//                "cabjGChzbJEdhwQUCwhHbQqAchXMTdKVGcrdctrUhDmbkhQjyFJdiLXeGBZJchBBNXCSfgFzMjBbECsEBbmSwuesJoYUwLXBGfYdkryvTVNAVKzNLenFZPoDIeuEEYrV";
//        String userId = "111";
//        String result = lkeThirdFeign.getWsToken("GetWsToken", "2023-11-30", "ap-guangzhou", 5, appKey, userId);
//        log.info(result);
        return "11111";
    }


}

